APP014.TXT    TestPoint Application Note
APP014A.TST  Activate another application, switch windows
APP014B.TST  Beep, Play WAV file
APP014D.TST  Create a directory/subdirectory
APP014E.TST  Maximize panel or subpanel
APP014H.TST  Help file/window
APP014S.TST  Search and replace (file search and replace key=value)

(c) Capital Equipment Corporation1995
________________________________________________________________
A Window on Windows:  A method for accessing Windows functions from TestPoint.  Examples include finding, searching and editing a file and maximizing a runtime window.
 ________________________________________________________________ 

TestPoint is an open system that provides access to all Windows functions.  You can also access DOS functions as long as Windows has not restricted access to the function or reserved the resource (kernel mode issues with WinNT and above). The bottom line is that anything you can do with Windows you can do from TestPoint.  Examples include -
  Creating a directory or subdirectory
  Maximizing or minimizing a runtime window 
  Sound functions
 Advanced file functions
 Running other Windows or DOS applications

A complete list of all of the functions is provided in the Microsoft Windows Software Development Kit Reference Volume 1.  These functions are usually referred to as Windows API's (application programming interfaces). There are literally hundreds of functions that range from the obvious (fill rectangle) to the obscure (Get Private Profile Int).  These functions can often reduce very complex applications to a few Action Lines.  The Internet is another good resource for information about Windows API functions and their parameters.

TestPoint's code object is the gateway to these Windows functions.  Using the functions consists of filling in the blanks in the code object and providing the parameters specified in the development kit reference.  TestPoint's code object has four blanks to fill in.  These are the - DLL filename, Subroutine name, Argument types passed to the Windows function, and Argument type returned by the Windows function.

The DLL file names for Windows functions are USER or KERNEL, which are executable files in the Windows system directory.  The subroutine name is the name of the Windows API function.  The number and type of arguments are provided as part of the Windows API description.  There are several examples in the associated TST files.
